import request from '@/utils/request'

//新增接口
export const addWcGeneralConfiguration = (data = {}, params = {}) => {
	return request({
		url: '/wcGeneralConfiguration',
		method: 'POST',
		data,
		params
	})
}
//修改接口
export const updataWcGeneralConfiguration = (data = {}, params = {}) => {
	return request({
		url: '/wcGeneralConfiguration',
		method: 'PUT',
		data,
		params
	})
}
//导出接口
export const exportWcGeneralConfiguration = (data = {}, params = {}) => {
	return request({
		url: '/wcGeneralConfiguration/export',
		method: 'POST',
		responseType: "blob",
		data,
		params
	})
}
//查询列表接口
export const listWcGeneralConfiguration = (data = {}, params = {}) => {
	return request({
		url: '/wcGeneralConfiguration/list',
		method: 'GET',
		data,
		params
	})
}
//删除接口
export function deleteWcGeneralConfiguration(ids) {
	return request({
		url: `/wcGeneralConfiguration/${ids}`,
		method: 'DELETE'
	})
}
//单查接口
export function findWcGeneralConfiguration(id) {
	return request({
		url: `/wcGeneralConfiguration/${id}`,
		method: 'GET'
	})
}